//
//  LJHCateScrollView.h
//  HEARME
//
//  Created by liujinhui on 16/1/27.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LJHBaseScrollView.h"
@protocol CategoryScrollDelegate <NSObject>

- (void)titleButtonAction:(UIButton *)button;
- (void)endDraggingAction:(NSInteger)tag;

@end

@interface LJHCateScrollView : LJHBaseScrollView
@property (nonatomic, retain) LJHBaseScrollView *titleScrollView;//头部scrollView
@property (nonatomic, retain) LJHBaseScrollView *bgScrollView;//背景scrollView

@property (nonatomic, retain) id<CategoryScrollDelegate> myDelegate;//代理
@property (nonatomic, retain) UIView * vernier;//游标
@property (nonatomic, assign) CGFloat currenX;//当前坐标
@property (nonatomic, assign) BOOL isRight;//监听手势方向,默认为YES
@property (nonatomic, retain) NSMutableArray *btnArray;//按钮数组
@property (nonatomic, assign) NSInteger currentIndex;
@property (nonatomic, retain) UIButton *rightButton;

//设置头部scrollView内容
- (void)setTitleContent:(NSArray *)array;
//设置背景scrollView内容
- (void)setBgScrollViewContents:(NSArray *)array;
@end
